package com.ruoyi.djb.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * APP用户管理对象 djb_admin
 * 
 * @author xxd
 * @date 2023-12-08
 */
public class DjbAdmin extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Integer id;

    /**  */
    @Excel(name = "")
    private String name;

    /**  */
    @Excel(name = "")
    private String mobile;

    /**  */
    @Excel(name = "")
    private String openId;

    /** 绑定小区 */
    @Excel(name = "绑定小区")
    private Integer districtId;

    private String districtName;

    /** 类型 1门卫 2物业 0 管理员 */
    @Excel(name = "类型 1门卫 2物业 0 管理员")
    private Integer type;

    /** 头像 */
    @Excel(name = "头像")
    private String headUrl;

    /** 0 待审核 1通过 2拒绝 */
    @Excel(name = "0 待审核 1通过 2拒绝")
    private Integer status;

    /** 上岗门岗 */
    @Excel(name = "上岗门岗")
    private Integer gateId;

    private String gateName;

    /** 上下岗状态 0离岗 1上岗 */
    @Excel(name = "上下岗状态 0离岗 1上岗")
    private Integer isPost;

    /** 拒绝理由 */
    @Excel(name = "拒绝理由")
    private String reason;

    private String token;

    private String version;

    private String openId2;

    private String unionId;

    private String registrationId;

    public String getRegistrationId() {
        return registrationId;
    }

    public void setRegistrationId(String registrationId) {
        this.registrationId = registrationId;
    }

    public String getOpenId2() {
        return openId2;
    }

    public void setOpenId2(String openId2) {
        this.openId2 = openId2;
    }

    public String getUnionId() {
        return unionId;
    }

    public void setUnionId(String unionId) {
        this.unionId = unionId;
    }

    public String getGateName() {
        return gateName;
    }

    public void setGateName(String gateName) {
        this.gateName = gateName;
    }

    public String getDistrictName() {
        return districtName;
    }

    public void setDistrictName(String districtName) {
        this.districtName = districtName;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setMobile(String mobile) 
    {
        this.mobile = mobile;
    }

    public String getMobile() 
    {
        return mobile;
    }
    public void setOpenId(String openId) 
    {
        this.openId = openId;
    }

    public String getOpenId() 
    {
        return openId;
    }
    public void setDistrictId(Integer districtId) 
    {
        this.districtId = districtId;
    }

    public Integer getDistrictId() 
    {
        return districtId;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }
    public void setHeadUrl(String headUrl) 
    {
        this.headUrl = headUrl;
    }

    public String getHeadUrl() 
    {
        return headUrl;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setGateId(Integer gateId) 
    {
        this.gateId = gateId;
    }

    public Integer getGateId() 
    {
        return gateId;
    }
    public void setIsPost(Integer isPost) 
    {
        this.isPost = isPost;
    }

    public Integer getIsPost() 
    {
        return isPost;
    }
    public void setReason(String reason) 
    {
        this.reason = reason;
    }

    public String getReason() 
    {
        return reason;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("mobile", getMobile())
            .append("openId", getOpenId())
            .append("districtId", getDistrictId())
            .append("type", getType())
            .append("headUrl", getHeadUrl())
            .append("status", getStatus())
            .append("gateId", getGateId())
            .append("isPost", getIsPost())
            .append("reason", getReason())
            .toString();
    }
}
